/**
 * 
 */
package unseen.labs.games.gamecontroller.view;

import unseen.labs.games.gamecontroller.R;
import unseen.labs.games.gamecontroller.renderer.GenericRenderer;
import unseen.labs.games.gamecontroller.ui.component.Joystick;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;

/**
 * @author PERRAUDIN Steven <sperraudin@neotilus.com>
 *
 * @date 4 juin 2010
 */
public class GenericView extends GLSurfaceView{
	
	private GenericRenderer _renderer;
	
	
    
	public GenericView(Context context){
		super(context);
		_renderer = new GenericRenderer();
		setRenderer(_renderer);
		
		initView();
	}
	
	public GenericView(Context context, AttributeSet attrs) {
		super(context, attrs);
		_renderer = new GenericRenderer();
		setRenderer(_renderer);
		
		initView();
	}

	public GenericView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs);
		_renderer = new GenericRenderer();
		setRenderer(_renderer);
		
		initView();
	}	
	
	private void initView() {
		
		
	}

	/**
	 * @return the _renderer
	 */
	public GenericRenderer getRenderer() {
		return _renderer;
	}
	

	
}
